export default [
  {
    icon: 'ios-options',
    name: 'admin',
    title: '后台管理',
    route: '/admin',
    children: [
      {
        title: '后台用户',
        route: '/admin/user'
      },
      {
        title: '后台角色',
        route: '/admin/role'
      },
      {
        title: '接口权限',
        route: '/admin/permissions'
      },
      {
        title: '权限分类',
        route: '/admin/permission-classify'
      },
      {
        title: '路由控制',
        route: '/admin/access-route'
      },
    ]
  },
  {
    icon: 'ios-person',
    name: 'user-manage',
    title: '用户管理',
    route: '/user-manage',
    children: [
      {
        title: '书城用户',
        route: '/user-manage/list'
      },
      {
        hide: true,
        title: '用户画像',
        route: '/user-manage/user-detail/:id?'
      },
      {
        title: '用户反馈',
        route: '/user-manage/feedback'
      }
    ]
  },
  {
    icon: 'ios-home',
    name: 'index-manage',
    title: '首页内容',
    route: '/index-manage',
    children: [
      {
        title: '轮播图',
        route: '/index-manage/banner'
      },
      {
        title: '图片推荐',
        route: '/index-manage/advisement'
      },
      {
        title: '书籍推荐',
        route: '/index-manage/theme'
      },
    ]
  },
  {
    icon: 'md-book',
    name: 'book-manage',
    title: '书籍管理',
    route: '/book-manage',
    children: [
      {
        title: '查询书籍',
        route: '/book-manage/list'
      },
      {
        title: '热门搜索',
        route: '/book-manage/hot-search'
      },
      {
        title: '书籍分类',
        route: '/book-manage/classify'
      },
      {
        hide: true,
        title: '章节管理',
        route: '/book-manage/:bookid/chapter'
      },
    ]
  },
  {
    icon: 'logo-euro',
    name: 'price-manage',
    title: '价格管理',
    route: '/price-manage',
    children: []
  },
  {
    icon: 'md-paper-plane',
    name: 'share-manage',
    title: '好友助力',
    route: '/friend-help',
    children: [
      {
        title: '助力书籍',
        route: '/friend-help/list'
      },
    ]
  },
  {
    icon: 'md-text',
    name: 'comment-manage',
    title: '评论管理',
    route: '/comment-manage',
    children: []
  },
  {
    icon: 'md-stopwatch',
    name: 'notice-manage',
    title: '通知管理',
    route: '/notice-manage',
    children: []
  },
  {
    icon: 'md-settings',
    name: 'settings',
    title: '应用设置',
    route: '/settings',
    children: [
      {
        title: '书城设置',
        route: '/settings/application'
      },
    ]
  }
];
